Inverted pyramid pattern in C